STEP 10: Now let's change the question text and input variable for this next question!

  • Change the name of the new variable from choice to clothing.
  • Change the string in the .ask() command from "Yes or no?" to "Enter a piece of clothing."
  • Drag in Say and change the string in the .say() command from "I am a sprite." to the variable clothing.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)